#又拍云
import upyun
#实例化
up = upyun.UpYun('flies123adc', username='qwe123', password='101tbBRjSUFAqwjXOcB3Uc0QpSkiN9ig')
#定义头部
headers = { 'x-gmkerl-rotate': 'auto' }
#读图写入又拍云
with open('../static/upload/1.png','rb')as f:
    up.put('jwt流程图.png',f,checksum=True,headers=headers)
#目录操作
up.mkdir('/kaoshi/')
#移动文件
up.move('jwt流程图.png','/kaoshi/jwt流程图.png')